﻿@model IEnumerable<Api.Model.MethodParameter>
<!--内容--B-->
<div class="tmbdliebiao" style="width: 100%">
    <div class="table-responsive">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-bordered uytak">
            <thead>
                <tr style="border-bottom: 2px solid #D1D1D1;">
                    <td width="9%">
                        <input type="checkbox" onclick="selectBox(this)" />
                        <a id="btnDel" onclick="return deleteIds()">
                            <span class="glyphicon glyphicon-trash"></span>
                        </a>
                    </td>

                    <td width="9%">
                        <b class="">
                            <span>名稱</span>
                            <span name="" class=""></span>
                        </b>
                    </td>
                    <td width="9%">
                        <b class="">
                            <span>數據類型</span>
                            <span name="" class=""></span>
                        </b>
                    </td>
                    <td width="9%">
                        <b class="">
                            <span>參數類別</span>
                            <span name="" class=""></span>
                        </b>
                    </td>
                </tr>
            </thead>
            <tbody id="tbody">
                @if (Model != null)
                {
                    foreach (MethodParameter parameter in Model)
                    {
                <tr>
                    <td>
                        <input type="checkbox" value="@(parameter.Id)" name="Ids" />
                        <a href="@Url.Action("Edit", new {methodParameterId = parameter.Id, Th.ProjectId,methodId=parameter.MethodId})">
                            <span class="glyphicon glyphicon-pencil"></span>
                        </a>
                    </td>
                    <td>
                        @Html.CusRaw(Html.SubStr(parameter.Name))
                    </td>
                    <td>
                        @parameter.DataType
                    </td>
                    <td>
                        @Html.GetParameterType(parameter.Type)
                    </td>
                </tr>
                    }
                }
            </tbody>
        </table>

        <!--分頁--B-->
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span12">
                    <div id="pagination-demo" class="pagination"></div>
                </div>
            </div>
        </div>
        <!--分頁--E-->
    </div>
</div>
<!--内容--E-->
